const xapp = require("./xapp.config.js");

//微信授权
let Account = `${xapp.api_host}/login/sign-in-with-account`;
//微信登录
let signcode = `${xapp.api_host}/login/sign-in-with-code`;
//添加银行卡
let Insert = `${xapp.api_host}/bank/insert`;
//银行卡列表
let queryBank = `${xapp.api_host}/bank/queryBank`;
//提现
let cashOut = `${xapp.api_host}/bank/cashOut`;
//业务员列表
let Salesmanlist = `${xapp.api_host}/man/salesman-list`;
//业务员详情我的
let Owner = `${xapp.api_host}/sales/owner`;
//专栏页面
let columnResult = `${xapp.api_host}/column/columnResult`;
//分院业务员列表详情
let Salesmandetail = `${xapp.api_host}/man/salesman-detail`;
//总院概览
let ofheadquarters = `${xapp.api_host}/man/centre-overview`;
//分院概览
let branch = `${xapp.api_host}/man/branch-overview`;
//总院分院列表
let branchList = `${xapp.api_host}/man/branch-list`;
//分院订单列表
let branchorder = `${xapp.api_host}/man/branch-order-list`;

//总部订单列表
let ordeist = `${xapp.api_host}/man/order-list`;

// 业务员、用户、我的购课和推广列表
let Course = `${xapp.api_host}/man/salesman-detail-course`
//总院订单列表  
let ordermanlist = `${xapp.api_host}/man/order-list`;
//更多专栏
let columnDetail = `${xapp.api_host}/column/columnDetail`;
//专栏更多
let columnList = `${xapp.api_host}/column/columnList`;
//分院概览搜索
let searchSalesman = `${xapp.api_host}/man/search-salesman`;

//订单详情
let Detailorder = `${xapp.api_host}/order/order-detail`;
//支付
let Reqpay = `${xapp.api_host}/pay/req-pay`;
//订单详情
let Orderdetail = `${xapp.api_host}/order/order-detail`;
//业务员用户我的
let owner = `${xapp.api_host}/sales/owner`;
// 业务员 用户 我的购课和推广列表
let ownercourse = `${xapp.api_host}/sales/owner-course`;
// 分院我的
let branchOwner = `${xapp.api_host}/man/branch-owner`;

// 查看分院提成比例
let viewBranchRate = `${xapp.api_host}/man/view-branch-rate`;

//修改分院比率
let editBranchRate = `${xapp.api_host}/man/edit-branch-rate`;

module.exports = {
  ofheadquarters,
  signcode,
  Account,
  Insert,
  queryBank,
  cashOut,
  Salesmanlist,
  Owner,
  columnResult,
  Salesmandetail,
  branch,
  branchList,
  branchorder,
  ordermanlist,
  Course,
  columnDetail,
  columnList,
  searchSalesman,
  Reqpay,
  Orderdetail,
  ownercourse,
  owner,
  ordeist,
  Detailorder,
  Reqpay,
  branchOwner,
  viewBranchRate,
  editBranchRate
}